package com.snack.shop.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 商品统计结果
 */
@Data
@Schema(description = "商品统计数据")
public class ProductStatsDTO {
    @Schema(description = "商品总数")
    private Long total;

    @Schema(description = "已上架数量")
    private Long onSale;

    @Schema(description = "已下架数量")
    private Long offSale;

    @Schema(description = "库存预警数量（stock<=阈值）")
    private Long lowStock;
}
